* {
  padding: 0;
  margin: 0;
}
body {
  width: 100%;
  height: 100%;
}
.container {
  width: 600px;
  margin: 100px auto;
  padding: 0 30px;
  background-color: blanchedalmond;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.container h1 {
  padding: 20px 0;
}
.container .chess {
  line-height: 150px;
  font-size: 200px;
  padding: 30px 0;
  cursor: pointer;
}
.container .chess .row {
  width: 600px;
  height: 200px;
  background-color: gray;
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.container .chess .row .col {
  width: 33%;
  height: 99%;
  background-color: blanchedalmond;
}
.container .chess .row .o::before {
  content: 'o';
  color: cadetblue;
}
.container .chess .row .x::before {
  content: 'x';
  color: coral;
}
.container .chess .row:last-child .col {
  height: 100%;
}
.container .o .col:not(.o):not(.x):hover:before {
  content: 'o';
  color: lightgray;
}
.container .x .col:not(.o):not(.x):hover::before {
  content: 'x';
  color: lightgray;
}
.messageContainer {
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.messageContainer .message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 10px;
}
.messageContainer .message button {
  width: 100px;
  height: 40px;
  font-size: 18px;
}
